package com.way.service;

import com.way.domain.dto.SysRoleDto;
import com.way.domain.entity.SysRole;

import java.util.List;

public interface SysRoleService {

    List<SysRole> findAll();

    List<SysRole> findByName(String name);

    void save(SysRoleDto dto);

    void deleteById(Integer id);

}
